[NTG-context] passing the \starttabulate format in XML typesetting

2016-06-16 Thread massifr
Hello list, I'm trying to map HTML with tabs to \starttabulate in ConTeXt. A div of class "tabulate" is mapped to a \starttabulate ... \stoptabulate section, p elements are rows and span elements of class "tab" produce \NCs in ConTeXt. That div element has a "format"

Re: [NTG-context] combining itemize and starttabulate

2016-04-07 Thread Procházka Lukáš Ing .
Hello, that's a great feature! I guess it will be involved into Ctx (with the next beta)... Lukas On Thu, 07 Apr 2016 10:49:25 +0200, Hans Hagen <pra...@wxs.nl> wrote: On 4/6/2016 1:04 PM, Jan Willem Flamma wrote: Dear members, The following combination of itemize and startta

Re: [NTG-context] combining itemize and starttabulate

2016-04-07 Thread Hans Hagen
On 4/6/2016 1:04 PM, Jan Willem Flamma wrote: Dear members, The following combination of itemize and starttabulate is numbered from 'd. to f.' instead of from 'a. to c.' \starttext \startitemize[a] \starttabulate[|l|p|] \item \NC column1 \NC column2 \NC \NR \item \NC column1 \NC column2 \NC \NR

[NTG-context] combining itemize and starttabulate

2016-04-06 Thread Jan Willem Flamma
Dear members, The following combination of itemize and starttabulate is numbered from 'd. to f.' instead of from 'a. to c.' \starttext \startitemize[a] \starttabulate[|l|p|] \item \NC column1 \NC column2 \NC \NR \item \NC column1 \NC column2 \NC \NR \item \NC column1 \NC column2 \NC \NR

[NTG-context] \starttabulate inside a \placelegend is not working

2011-12-20 Thread Charles
Hi, I would like to put a table (\starttabulate ... \stoptabulate) inside a \placelegend in order to have local footnotes. The compilation is OK for \starttable but failing with \starttabulate. Some help please? Thanks Charles \starttext \startlocalfootnotes \placetable{A table

Re: [NTG-context] Problem Passing \starttabulate into Lua

2009-01-01 Thread Wolfgang Schuster
Am 27.12.2008 um 12:20 schrieb Tad Ashlock: I'm trying to create a ConTeXt macro (mkiv) that will manipulate the macro argument's text with Lua and then feed it back into ConTeXt with tex.print(). My approach worked correctly until I called the macro with \starttabulate ... \stoptabulate

Re: [NTG-context] Problem Passing \starttabulate into Lua

2008-12-30 Thread Wolfgang Schuster
Am 29.12.2008 um 14:28 schrieb Wolfgang Schuster: When I changed '\starttabulate' to '\starttabulate[|l|p|]' in your solution above, it broke. Try to escape the |, it's a active character in ConTeXt but this could work (untested): \def\testmacro {\bgroup \catcode`\\=12 \catcode`\|=12

Re: [NTG-context] Problem Passing \starttabulate into Lua

2008-12-29 Thread luigi scarso
Thank you Wolfgang! That's certainly a step in the right direction. But what I (and others?) really need is a way of passing any chunk of ConTeXt code into Lua. Maybe Nodes and attributes chapter in mk.pdf can help you . (see http://www.pragma-ade.nl/dir?path=general/manualss=a) --

Re: [NTG-context] Problem Passing \starttabulate into Lua

2008-12-29 Thread Ashlock, Tad A
the macro with \starttabulate ... \stoptabulate in the macro's argument. So I started reducing the problem down to a minimum example which surprisingly turned out to have nothing to do with the manipulations I was performing. [snip] \def\testmacro {\bgroup \catcode`\\=12 \dotestmacro

Re: [NTG-context] Problem Passing \starttabulate into Lua

2008-12-29 Thread Wolfgang Schuster
(). My approach worked correctly until I called the macro with \starttabulate ... \stoptabulate in the macro's argument. So I started reducing the problem down to a minimum example which surprisingly turned out to have nothing to do with the manipulations I was performing. [snip] \def\testmacro

Re: [NTG-context] Problem Passing \starttabulate into Lua

2008-12-28 Thread Wolfgang Schuster
Am 27.12.2008 um 12:20 schrieb Tad Ashlock: I'm trying to create a ConTeXt macro (mkiv) that will manipulate the macro argument's text with Lua and then feed it back into ConTeXt with tex.print(). My approach worked correctly until I called the macro with \starttabulate ... \stoptabulate

[NTG-context] Problem Passing \starttabulate into Lua

2008-12-27 Thread Tad Ashlock
I'm trying to create a ConTeXt macro (mkiv) that will manipulate the macro argument's text with Lua and then feed it back into ConTeXt with tex.print(). My approach worked correctly until I called the macro with \starttabulate ... \stoptabulate in the macro's argument. So I started reducing

[NTG-context] starttabulate vs starttable

2007-10-04 Thread frantisek holop
hi there, please consider the following minimal examples: \starttext \starttable[|l|l|l|] \NC MidE \VL early ModE \VL ModE \NC \SR \HL \NC ge:s \VL gi:s \VL geese \NC \FR \NC na:m \VL ne:minimal \VL name \NC \MR \NC mi:s \VL mays \VL mice \NC \LR \stoptable \starttabulate[|l|l|l

Re: [NTG-context] starttabulate vs starttable

2007-10-04 Thread Arthur Reutenauer
the tabulate example is basicly the same without the vertical lines, which it seems like it can't do, i get an ! Undefined control sequence. I really don't know much about tabular material in ConTeXt, but from the very first line of http://wiki.contextgarden.net/Tabulate I would assume that

Re: [NTG-context] starttabulate vs starttable

2007-10-04 Thread Aditya Mahajan
mays \VL mice \NC \LR \stoptable \starttabulate[|l|l|l|] \NC MidE \NC early ModE \NC ModE \NC \NR \HL \NC ge:s \NC gi:s \NC geese \NC \NR \NC na:m \NC ne:minimal \NC name \NC \NR \NC mi:s \NC mays \NC mice \NC \NR \stoptabulate \stoptext the tabulate example

Re: [NTG-context] starttabulate vs starttable

2007-10-04 Thread Aditya Mahajan
On Fri, 5 Oct 2007, Arthur Reutenauer wrote: the tabulate example is basicly the same without the vertical lines, which it seems like it can't do, i get an ! Undefined control sequence. I really don't know much about tabular material in ConTeXt, but from the very first line of

Re: [NTG-context] starttabulate vs starttable

2007-10-04 Thread Aditya Mahajan
\starttabulate[|l|l|l|] \NC MidE \NC early ModE \NC ModE \NC \NR \HL \NC ge:s \NC gi:s \NC geese \NC \NR \NC na:m \NC ne:minimal \NC name \NC \NR \NC mi:s \NC mays \NC mice \NC \NR \stoptabulate \stoptext Aditya

Re: [NTG-context] starttabulate questions

2007-09-25 Thread frantisek holop
hmm, on Mon, Sep 24, 2007 at 07:52:00PM -0400, Aditya Mahajan said that Tabulate started as a mechanism to replace table, so the syntax was kept the same. Right now, tabulate does not implement vertical rules, so in the context of tabulate, having a last \NC seems redundant. As far as I

Re: [NTG-context] starttabulate questions

2007-09-25 Thread Aditya Mahajan
On Tue, 25 Sep 2007, frantisek holop wrote: hmm, on Mon, Sep 24, 2007 at 07:52:00PM -0400, Aditya Mahajan said that Tabulate started as a mechanism to replace table, so the syntax was kept the same. Right now, tabulate does not implement vertical rules, so in the context of tabulate, having a

Re: [NTG-context] starttabulate questions

2007-09-25 Thread Idris Samawi Hamid
On Tue, 25 Sep 2007 18:11:46 -0600, Aditya Mahajan [EMAIL PROTECTED] wrote: anybody writing a context book by a chance for publishing? :D I think that the book has been in the planning stage for a long time. The trouble with writing a book is that it takes a long time. I have started a

[NTG-context] starttabulate questions

2007-09-24 Thread frantisek holop
good evening, all the examples in the manual use \NC before \NR is this a necessity? what is the logics behind this? is it more like an ending to the previous \NC ? \starttabulate[|l|l|l|] \NC A. \NC This Perfect Day \NC Ira Levin \NC \NR \NC B. \NC Opstaan op Zaterdag

Re: [NTG-context] starttabulate questions

2007-09-24 Thread Aditya Mahajan
not implement vertical rules, so in the context of tabulate, having a last \NC seems redundant. As far as I understand, tabulate is supposed to ultimately backward compatible with table, and features will be added according to user demands or Hans needs. \starttabulate[|l|l|l|] \NC A. \NC

[NTG-context] \starttabulate vertical spacing

2005-08-11 Thread Christoph Czarnetzki
Hello! i want to put some space between lines in a tabulate environment. \starttext \starttabulate[|l|p(1cm)|] \NC Some Text \NC Other Text \NC\NR\HL \NC Some Text \NC Other Text \crlf\NC\NR \NC Some Text \NC Other Text \NC \stoptabulate \stoptext i did it with \crlf, but this is too much

Re: [NTG-context] \starttabulate vertical spacing

2005-08-11 Thread Hans Hagen
Christoph Czarnetzki wrote: Hello! i want to put some space between lines in a tabulate environment. \starttext \starttabulate[|l|p(1cm)|] \NC Some Text \NC Other Text \NC\NR\HL \NC Some Text \NC Other Text \crlf\NC\NR \NC Some Text \NC Other Text \NC \stoptabulate \stoptext i did

Re: [NTG-context] \starttabulate vertical spacing

2005-08-11 Thread Christoph Czarnetzki
Hello Hans, it's better, but not the space value i want. To see the difference: \starttext \starttabulate[|l|p|] \NC Some Text \NC Other Text \NC\NR\HL \NC Some Text \NC Other Text \NC\NR \TB \NC Some Text \NC Other Text \NC\NR \NC Some Text \NC Other Text \NC\NR \stoptabulate \godown[3cm

Re: [NTG-context] \starttabulate vertical spacing

2005-08-11 Thread Hans Hagen
Christoph Czarnetzki wrote: Hello Hans, it's better, but not the space value i want. To see the difference: \starttext \starttabulate[|l|p|] \NC Some Text \NC Other Text \NC\NR\HL \NC Some Text \NC Other Text \NC\NR \TB \NC Some Text \NC Other Text \NC\NR \NC Some Text \NC Other Text \NC\NR

Re: [NTG-context] \definestartstop and \starttabulate

2004-05-07 Thread Hans Hagen
At 21:31 06/05/2004, you wrote: Hello, how could I create a new start-stop-pair that uses \starttabulate ? The following example does not seem to work... \definestartstop[Tab][before={\starttabulate[|c|]}, after={\stoptabulate}] \starttext \startTab \NC test \NC\AR \stopTab \stoptext

[NTG-context] \definestartstop and \starttabulate

2004-05-06 Thread Peter Mnster
Hello, how could I create a new start-stop-pair that uses \starttabulate ? The following example does not seem to work... \definestartstop[Tab][before={\starttabulate[|c|]}, after={\stoptabulate}] \starttext \startTab \NC test \NC\AR \stopTab \stoptext TIA for any help, Peter -- http